﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Automaton.DataModel;

namespace Automaton.ServiceLibrary
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IAutomatonDataService" in both code and config file together.
    [ServiceContract]
    public interface IAutomatonDataService
    {
        //[OperationContract]
        //Contracts.Results<Device> Select();

        //[OperationContract(Name = "SelectByDeviceID")]
        //Contracts.Results<Device> Select(Guid DeviceID);

        //[OperationContract(Name = "SelectByAddress")]
        //Contracts.Results<Device> Select(Contracts.HouseCodes HouseCode, int Address);

        //[OperationContract]
        //Contracts.Results<Device> Add(Device _Device);

        //[OperationContract]
        //Contracts.Results<Device> Delete(Device _Device);

        //[OperationContract]
        //Contracts.Results<Device> Update(Device _Device);
    }
}
